var stats = {
    type: "GROUP",
name: "All Requests",
path: "",
pathFormatted: "group_missing-name-b06d1",
stats: {
    "name": "All Requests",
    "numberOfRequests": {
        "total": "68419",
        "ok": "27186",
        "ko": "41233"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "3",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "15990",
        "ok": "15990",
        "ko": "64"
    },
    "meanResponseTime": {
        "total": "588",
        "ok": "1478",
        "ko": "1"
    },
    "standardDeviation": {
        "total": "1116",
        "ok": "1349",
        "ko": "2"
    },
    "percentiles1": {
        "total": "1",
        "ok": "1194",
        "ko": "1"
    },
    "percentiles2": {
        "total": "653",
        "ok": "2257",
        "ko": "1"
    },
    "percentiles3": {
        "total": "2996",
        "ok": "3989",
        "ko": "3"
    },
    "percentiles4": {
        "total": "4700",
        "ok": "5720",
        "ko": "10"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 11069,
    "percentage": 16
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 2607,
    "percentage": 4
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 13510,
    "percentage": 20
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 41233,
    "percentage": 60
},
    "meanNumberOfRequestsPerSecond": {
        "total": "330.527",
        "ok": "131.333",
        "ko": "199.193"
    }
},
contents: {
"req_criac-a-o-ce502": {
        type: "REQUEST",
        name: "criação",
path: "criação",
pathFormatted: "req_criac-a-o-ce502",
stats: {
    "name": "criação",
    "numberOfRequests": {
        "total": "54639",
        "ok": "22043",
        "ko": "32596"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "3",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "10494",
        "ok": "10494",
        "ko": "64"
    },
    "meanResponseTime": {
        "total": "575",
        "ok": "1423",
        "ko": "1"
    },
    "standardDeviation": {
        "total": "1079",
        "ok": "1297",
        "ko": "2"
    },
    "percentiles1": {
        "total": "1",
        "ok": "1172",
        "ko": "1"
    },
    "percentiles2": {
        "total": "657",
        "ok": "2182",
        "ko": "1"
    },
    "percentiles3": {
        "total": "2901",
        "ok": "3839",
        "ko": "3"
    },
    "percentiles4": {
        "total": "4560",
        "ok": "5481",
        "ko": "11"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 9159,
    "percentage": 17
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 2163,
    "percentage": 4
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 10721,
    "percentage": 20
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 32596,
    "percentage": 60
},
    "meanNumberOfRequestsPerSecond": {
        "total": "263.957",
        "ok": "106.488",
        "ko": "157.469"
    }
}
    },"req_busca-inva-lida-b5618": {
        type: "REQUEST",
        name: "busca inválida",
path: "busca inválida",
pathFormatted: "req_busca-inva-lida-b5618",
stats: {
    "name": "busca inválida",
    "numberOfRequests": {
        "total": "4190",
        "ok": "1585",
        "ko": "2605"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "5",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "9692",
        "ok": "9692",
        "ko": "37"
    },
    "meanResponseTime": {
        "total": "642",
        "ok": "1695",
        "ko": "1"
    },
    "standardDeviation": {
        "total": "1259",
        "ok": "1551",
        "ko": "2"
    },
    "percentiles1": {
        "total": "1",
        "ok": "1387",
        "ko": "1"
    },
    "percentiles2": {
        "total": "601",
        "ok": "2608",
        "ko": "1"
    },
    "percentiles3": {
        "total": "3383",
        "ok": "4593",
        "ko": "3"
    },
    "percentiles4": {
        "total": "5496",
        "ok": "6509",
        "ko": "11"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 609,
    "percentage": 15
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 130,
    "percentage": 3
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 846,
    "percentage": 20
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 2605,
    "percentage": 62
},
    "meanNumberOfRequestsPerSecond": {
        "total": "20.242",
        "ok": "7.657",
        "ko": "12.585"
    }
}
    },"req_busca-va-lida-d7f0d": {
        type: "REQUEST",
        name: "busca válida",
path: "busca válida",
pathFormatted: "req_busca-va-lida-d7f0d",
stats: {
    "name": "busca válida",
    "numberOfRequests": {
        "total": "9590",
        "ok": "3558",
        "ko": "6032"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "5",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "15990",
        "ok": "15990",
        "ko": "61"
    },
    "meanResponseTime": {
        "total": "640",
        "ok": "1724",
        "ko": "1"
    },
    "standardDeviation": {
        "total": "1244",
        "ok": "1518",
        "ko": "2"
    },
    "percentiles1": {
        "total": "1",
        "ok": "1409",
        "ko": "1"
    },
    "percentiles2": {
        "total": "674",
        "ok": "2595",
        "ko": "1"
    },
    "percentiles3": {
        "total": "3299",
        "ok": "4481",
        "ko": "3"
    },
    "percentiles4": {
        "total": "5278",
        "ok": "6289",
        "ko": "10"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 1301,
    "percentage": 14
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 314,
    "percentage": 3
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 1943,
    "percentage": 20
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 6032,
    "percentage": 63
},
    "meanNumberOfRequestsPerSecond": {
        "total": "46.329",
        "ok": "17.188",
        "ko": "29.14"
    }
}
    }
}

}

function fillStats(stat){
    $("#numberOfRequests").append(stat.numberOfRequests.total);
    $("#numberOfRequestsOK").append(stat.numberOfRequests.ok);
    $("#numberOfRequestsKO").append(stat.numberOfRequests.ko);

    $("#minResponseTime").append(stat.minResponseTime.total);
    $("#minResponseTimeOK").append(stat.minResponseTime.ok);
    $("#minResponseTimeKO").append(stat.minResponseTime.ko);

    $("#maxResponseTime").append(stat.maxResponseTime.total);
    $("#maxResponseTimeOK").append(stat.maxResponseTime.ok);
    $("#maxResponseTimeKO").append(stat.maxResponseTime.ko);

    $("#meanResponseTime").append(stat.meanResponseTime.total);
    $("#meanResponseTimeOK").append(stat.meanResponseTime.ok);
    $("#meanResponseTimeKO").append(stat.meanResponseTime.ko);

    $("#standardDeviation").append(stat.standardDeviation.total);
    $("#standardDeviationOK").append(stat.standardDeviation.ok);
    $("#standardDeviationKO").append(stat.standardDeviation.ko);

    $("#percentiles1").append(stat.percentiles1.total);
    $("#percentiles1OK").append(stat.percentiles1.ok);
    $("#percentiles1KO").append(stat.percentiles1.ko);

    $("#percentiles2").append(stat.percentiles2.total);
    $("#percentiles2OK").append(stat.percentiles2.ok);
    $("#percentiles2KO").append(stat.percentiles2.ko);

    $("#percentiles3").append(stat.percentiles3.total);
    $("#percentiles3OK").append(stat.percentiles3.ok);
    $("#percentiles3KO").append(stat.percentiles3.ko);

    $("#percentiles4").append(stat.percentiles4.total);
    $("#percentiles4OK").append(stat.percentiles4.ok);
    $("#percentiles4KO").append(stat.percentiles4.ko);

    $("#meanNumberOfRequestsPerSecond").append(stat.meanNumberOfRequestsPerSecond.total);
    $("#meanNumberOfRequestsPerSecondOK").append(stat.meanNumberOfRequestsPerSecond.ok);
    $("#meanNumberOfRequestsPerSecondKO").append(stat.meanNumberOfRequestsPerSecond.ko);
}
